package yamen.bdwm.datastruct;

import java.util.HashMap;

import android.content.Context;
import android.widget.ArrayAdapter;

public class WmBoardListAutoCompleteAdapter extends ArrayAdapter<String> {
	
	HashMap<String , WmBoardItem> boards;
	public WmBoardListAutoCompleteAdapter(Context context,
			int textViewResourceId,String []strs,HashMap<String , WmBoardItem> boards) {
		super(context, textViewResourceId,strs);
		this.boards=boards;
	}
	public WmBoardItem getboard(int pos)
	{
		return boards.get(this.getItem(pos));
	}
	
}
